define(['jquery', 'vue'
], function ($, Vue) {
    'use strict';

    function detailPageModule() {
    }

    detailPageModule.prototype.run = function () {
        // 车辆简单信息
        $('#3dLayout').load('./view/detailPage/vehicle3d.html', function () {
            var canvasWidth = $('#vehicle_webgl').width();
            $('#my_Canvas').width(canvasWidth);
            var canvasHeight = canvasWidth / CANVAS_ASPECTRATIO;
            $('#vehicle_webgl').height(canvasHeight);
            $('#my_Canvas').height(canvasHeight);
            var canvas = document.getElementById('my_Canvas');
            var gl = canvas.getContext('experimental-webgl');
            gl.clearColor(0, 0, 0, 1);
            gl.clear(gl.COLOR_BUFFER_BIT);
        });
    }

    return detailPageModule;
});